﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EntityFrameworkETL.SaveBatchedChanges;

namespace EntityFrameworkETL
{
    public class BatchedCommand
    {
        public string Sql { get; set; }
        public System.Data.Common.DbParameter[] Parameters { get; set; }
        public List<StructuredCommandCache> Commands { get; set; }

        public BatchedCommand(string sql, System.Data.Common.DbParameter[] parameters, List<StructuredCommandCache> commands)
        {
            Sql = sql;
            Parameters = parameters;
            Commands = commands;
        }
    }
}
